package com.mocha.websocket.handler;


import com.mocha.websocket.metadata.MochaChatMessage;
import com.mocha.common.core.MochaException;
import com.mocha.websocket.command.MochaBinaryParam;

/**
 * Bytebuffer 命令处理
 */
public interface MochaChatHandler {
    void handle(MochaBinaryParam<MochaChatMessage> command) throws MochaException;
}
